package com.xy.work.template;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
 * @author niuniu
 */ //移除自动配置数据库连接配置
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
//开启事务管理器
@EnableTransactionManagement
//开启Feign远程调用客户端
//@EnableFeignClients
////开启注册中心服务
//@EnableDiscoveryClient
public class AppServiceApplication {
    public static void main(String [] args){
        SpringApplication.run(AppServiceApplication.class,args);
    }


}
